package edu.whu.zqm.assignment7.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class myService {
    Logger logger = LoggerFactory.getLogger(myService.class);

    public void hello() {
        System.out.println("hello");
        logger.info("Method hello invoked");
    }

    public void bye() {
        System.out.println("bye");
        logger.info("Method bye invoked");
    }

    public void eat() {
        System.out.println("eat");
        logger.info("Method eat invoked");
    }
}
